package com.Iconcat.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 后台管理员信息
 * </p>
 *
 * @author zzq
 * @since 2023-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CatAdmin对象", description="后台管理员信息")
public class CatAdmin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "auid", type = IdType.AUTO)
    private Integer auid;

    @ApiModelProperty(value = "登录用户名")
    private String username;

    @ApiModelProperty(value = "登录密码")
    private String password;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "是否启用")
    @TableField("isEnable")
    private String isenable;

    @ApiModelProperty(value = "最后更新时间")
    private Date lastupdate;


}
